Use single implementation for memoize_method