This doesn't seem to have the same page checks as the old resource loading code, i.e.:

  F::app()->checkSkin( 'oasis', $skin ) && !BodyController::isEditPage()

Is there a reason these were not copied over?