Issue #340 - Move #createLabelModel() to be a method of the Stack itself.

Add a sample.