Add methods for connection initialization.