Removing abstraction layer for GLM