Fixed aggstatus get/set functions using base class and helper class.