Model metadata provider

- Added missing call for register custom model metadata, which in result
created false bugs in required attribute adapter.