Using Lang::createHandle rather than own functions. Fixes #47