Fixed bug in the class loading.