public static function rope($string, $encoding = null)
    {
        Arguments::define(Boa::string(), Boa::maybe(Boa::string()))
            ->check($string, $encoding);

        return new Rope($string, $encoding);
    }