Removed old post type parameter in new child factory method.