Improved documentation for form class