Added proper documentation to the extra functions I created.