GenericApi implementation.