rename all plugin references to primitive