The pop method updated.