Add a few functions to plugin utilities.