Updated template inheritance usage