Check if class exists in namespace before skipping evaluation of type/record