#565 Refactoring for customizing the configuration of a container.