Push glt helper functions to the generated packages.

Fixes #1.