remove unused declared api.