It shouldn't. All api methods return integers, and this method should be called after building the ImageTemplate using the `buildImageTemplateFromNode` method, which already validates that.