added stuff to methods in all classes.