Added method summaries to some functions.