Fixed up some issues that were preventing the connector from starting.