SimpleObjectController memory fixes