Add check to set route types, defaults to literal