Implemented done argument. Closes #34.