Configured add/remove Thymeleaf nature and menus.