Added a popmark() method.