Refactored to align with the new way of handling arguments via EventStoreOptions