Plugins (build): Remove unnecessary includes using inheritance