Fixes namespacing in protocols.