Closes #267.