changing plugin type from formatting to substitution

and documenting side effects