Updated routematcher now that method is an enum