Added an emptyFunction getter
Fixed wrong initialization of _ofClass