added two methods to Jared::Plugin