Added missing methods and testcases. Also updated code documentation