public function offsetGet($offset) {
        if($this->ResolveTraitOffsetExists($offset)) {
            return $this->ResolveTraitOffsetGet($offset);
        }

        if($this->AccessTraitOffsetExists($offset)) {
            return $this->AccessTraitOffsetGet($offset);
        }

        //return service if one exists with the requested name
        if($this->getLoops()->hasService($offset)) {
            return $this->getLoops()->getService($offset);
        }

        user_error("Undefined index: $offset", E_USER_NOTICE);
    }