Closes #166.