Fixed loadModel() method to be compatible with the EController::loadModel()