Each Connector (class) has a type/name, for example, memory, mongodb, oracle, or mysql. We use it as the key to map to the connector-specific settings.

We can refactor it to be a property at the Connector class level. Then it becomes this.connector.constructor.type.