When registering namespaces from an attributes list the attributes should _not_ be removed. This fixes #45.