defer running after_config hooks until after the object is allocated