Template inheritance 2644