Add necessary types for connection.