Fixed parameter &depth.
Improved load of classes.