Added helper static methods that also take Resource IDs.