Add shortcut method usefull in agents' unit tests.