Closes #147.