`push_tmp_doc` is not a good name, sounds like an action, but you're treating it like an entity.