Re-enables returning a model from a publish method