Correct stack class methods.