Removed support for writing longs (not used)