Started writing the keyhook wrapper