Initial API implementation.