Fixed class object loading.