A small optimization to avoid resolving this function dynamically every time it is needed and just do it once, on first use.