Turning the plugin into classes, making the form field editor work