stacks in document definition are now supported