Document the close() method.