Added genOptions to Form class