Remove form-specific code.