Modified the Api type.