Basic colision handling for repeated trait methods.
Add collision handling for class definitions.