Implemented a basic has_one with new hooks