If we go down this road, we need to register a Kryo serializer so this is not slower than using the Long.