Changing a container to button should have its own set of processing steps, to read container's children and interpret as button properties.