Removed push_list and the stack type