Structure of the mouse galectin-4 N-terminal carbohydrate-recognition domain reveals the mechanism of oligosaccharide recognition.