plugin add api changes for 3.0 tidyfication