Fixes ConnectorSpec compilation.