Added ability to restrict declared(params) to the local endpoint with include_parent_namespaces: false.