Implement doto. Closes #79