Added docs to various functions and methods