Made classes get created through reflection