Remove unused plugin stuff from API.