Fixed export. Closes #83.