Add routing constraints for deprecating API versions, closes #7