new template inheritance support (for better reusage)