Added some in code documentation.