Removed unused bits of glad.