Agent wrapper for the class