Peek functionality added to stacks.