Moved the non-public enums into the URITemplate class to avoid naming clashes.