Reintroduce isConnectorAvailable() in ConectorFactory.
Formatting fixup.