Add stack push and pop operations.