Added support for rehearsing the boundaries of nested elements