added missing GetResourceById methods.