give proper feedback for old-style python classes trying to use cache_method