Fix issue that copied classes are not being added to the classmap.

This bears the issue that from now on inline classes within dca files are
officially unsupported!