Added method comments and removed deprecated in-line comments.