Move resource-related methods into Billy::ResourceUtils.