Implemented Model hooks and hooklines used by model wrappers