document load_current_resource.