Simplify cache functions