Dynamic addition of layouts - work in progress.