add a model_flush_key method that mirrors flush_key