Removed initAgent inheritance, not needed.