Declaratively constructed Galleries can now be passed a config.
Separated container element and config into separate arguments.