protected function toArrayPlain()
    {
        $classname = $this->resolveClassname();
        $methods = array();
        foreach ($this->getMethods() as $method) {
            $method_fullname = $classname . '.' . $method->getName();
            $methods[$method_fullname] = $method->toArray();
        }
        return $methods;
    }