Fixed a major bug and a race condition in the generic implementation introduced in the latest change. Minor stylistic change.
Fixed a major bug and a race condition in the generic implementation introduced in the latest change.
Minor stylistic change.

psiha/sweater