Fixed bug in loading system classes.