Version pinning API. Fixes #2.