Adding PHPDoc for plugins, adding method for setting flash messages