Closes #45.