Added some documentation to some methods