Changed DetectZoom to detectZoom since this is not a class