Format forms for better performance