Crystal structure of FabG4 from Mycobacterium tuberculosis reveals the importance of C-terminal residues in ketoreductase activity.