Add a deprecation notice for registerFormInterface.