Added the EnumSet for route defining.