Manipulation of Java Agent Bytecode to Add Roles