Prototype on template inheritance.