Add stacking examples and document stacking