Closes #300.