Added the stubs ad accessor methods for Cache.java