Add doc to Agent.
Related issue #42