Removed extraneous close method.