Add cache method handling.