Updated docblocks and added methods to check cache states