Removed deprecated constructor in AgentImpl. Changed equals method.
I think I have removed all deprecated methods and constructors, and
updated accordingly.