Add support for Data object (containing a string or a Buffer).