Add attach and detach role methods