Updated to 1.0.2 client-lib. Added support for variable memory.