Added hooks for agent into simulator code.