Fixed interface issue
Changed $arguments to a stdClass instead of casting to an object