Implementing API versioning as discussed in #127.