Offset wrapper class and 32bit and 64bit implementations.