Updated dependencies. Also, this module now returns a constructor rather than an object.