Template heirarchy.