Add compatibility with template page