Added support for double (and other 8 bytes) datatypes