Made some stack methods private