Added code to allow plugin register with Schemas