Add support for choosing the listener container type, together with any additional properties needed.