Use underscore's object functions in more places.