Minor learning improvements