Allow a resource loader to be an optional argument in borrow