Fixing base template inheritance.