Implement pre-create and post-create hooks.