Remove debug logging and use the cached value.

Thanks Ray & Mike.