Add marshalling for Double