attempt to extend to glmer models.