MIT. Closes #231. Closes #260.