Deactivate properly if model is not passed.