Add cache interfaces, see #77