Add template inheritance spec