Added caching of next method in chain for dispatch values, and added passing unit tests for this new feature