Closes #22.