move the api to general namespace.