Apply roles to your Catalyst application-related classes WWW: https://metacpan.org/release/Catalyst-Plugin-Browser