Use gpgrt init and memory handler functions.