Support an affinity of collection

Closes #126.