Documentation added for methods.