Added more utilities. Updated some previous code to use these new
utilities. Slight changes to documentation in some classes.