Basic templates inheritance