[API] Remove some unneeded dependencies