Useful function for plugins. (For the time being)