Added #pause and #resume commands.