Don't choke on missing API version

Closes #175.