CMS-4497 Implement URL functions for thymeleaf.