Remove some text references to the api
remove unused api functions