Add class Connection.