Add warning when overriding core template functionality