Removing setApi instances