Added caching on command parser matching.