can we separate this in two lines?

    $class = ltrim($ids[0], '/'); // if we get the / from the url, this breaks the class loader in a funny way.
    $class = str_replace('-', '\\', $class);