Implementations for the GLI

This has been reviewed by @aussielunix, who has more experience than I in matters GLI. :+1:

Fixes #478.