Added disposing of model