Reconfigured routes to match actual model.