Add protocol to get_used_resources