Add some comments to stack.h.