Annotate cached functions as such.