Improved the code documentation.