Closes #286.