Closes #170.