Added form helper functions.