public function object($object)
    {
        // We will check for a custom object, which allows developers to create
        // objects using their own customized object Closure to create it.
        // Otherwise, we'll check to see if an object exists by default.

        if (array_key_exists($object, $this->extensions)) {
            return $this->extensions[$object]($this);
        }

        $object = is_numeric($object) ? $object : $this->objects->find($object);

        return new OntraportObject($this, $object);
    }