public function getAllowed($identity)
	{
		// Sweep for the allowed actions.
		$allowed = new Obj;

		foreach ($this->data as $name => &$action)
		{
			if ($action->allow($identity))
			{
				$allowed->set($name, true);
			}
		}

		return $allowed;
	}