Add Thymeleaf features.