Parameterize primary version.

Closes #12.