Added a cache to the touch dispatcher so determining if a class has
dispatchable methods is done once.