New plugin for convering legacy namspaces (resolves #666)

Basic support for legacy namespaces.
This implements #666.