Added manually implemented stack.