Add code comments/documentation where lacking.