Add support for pickling floats