Improved templates' inheritence.