Limit number of template choices

Is there a way to limit the available templates in the dropdown menu in de cms?
Atm every .yml file is available there and I would like to limit to 4 or 5 of the files only.

Also there are templates in there from a while ago which I deleted already but are still available.

Yes, in each pages section, you can define the allowed templates for creating pages using the create property, for example:

    type: pages
      - template_a
      - template_b
      - template_c
      - template_a
      - template_b

Wonderfull! Thanks again