Added Pause function.

Resolves #20.