Add FormObject class with ability to specify attribute