Made runtime.connections, runtime.defaultConnection, generator.connections and generator.defaultConnection optional