Added a way to get top item in stack.