Changed a bit about the template inheritance.