Example of template inheritance