Added comments on methods.