Closes #145.