Make `map::Object` handling more elegant.