Getting rid of the extra dependency to 'underscore'.

This reduces the footprint of this module,
so that it is possible to share underscore on the integration level.