Compatibility with cutomized template.