Minor code and readme improvements.