Added more characters to the replace for internal namespaces (fixes private dynamic classes)