Add measureText() and NullDriver