Fix type templetes => templates