Abstract and error classes for implementing visa-passport's backend API.