Added pause() method.