Revised learn().