Smarter loading classes.