Added some documentation around methods