Add more ResCache code