Cached method in string notation uses cache. Closes #2240