Add documentation of form API