fix overwriting existing classes
Merge pull request #8 from Ciki/patch-1

fix overwriting existing classes