Add capability to construct GulpMessage from object.