They were accused of 'spying' for a foreign government.
a 'spy' camera/plane [=a camera/plane used for spying]
a 'spy' novel/thriller [=a novel/thriller about spies]
(..) - Because I'm busy. Doing what? Okay, okay, you got me. The dentist thing is more of a hobby. In real life, I am a spy. And it is top secret, and you may not tell anybody, - because if you do... - What does this do? Hey! (..)2010 Despicable Me