Add versioning to endpoints