Fixed code for reading in statics from external classes.