Adds traits and uniforms setters for glm types