Adding strict InstanceId and ImageId types