Added API versioning & error codes.