Closes #294.