Migrate to thread-unsafe set. Closes #17.