Remove deprecated usage of form