Delete unnecessary stack implementation