Typos fixed in Agent. Closes Issue #19