Add generic stack sample.