Added a post_hydrate hook