Added overwriteObject() to prototypes.
Pass all parameters inside an object.