added hooks for Schemas