Add various utilities.
Fix README.