Minor code optimization - get reference to global obj cache once