Added genericCached.R