Change formatter to use the cached result method