object support for model.flash()