Update core templates to use correct path for inheritance