Changed buffer method names from put/take to push/pop.