Added comments for methods.