Remove generic type from QueueAdapterFactories