Set history

Closes #19.