[1.5.x] Removed unusable parameters to empty_form property

Backport of 884f77bd1 from master.