Removed some unused methods from Connection