Given that this method is only used from our code, I'm not sure that the extra check here is necessary.