Allowed defroutes to accept settings. Also referenced expand-routes and create-router in top-level ns.