Always include class_path when generating cache key