Fix HAL example for resolving embedded resource types