Adding a number of useful GLM extensions.