Make the imageRef param be optional