Change signature of addCache().

Signed-off-by: Stephan Hoehne <S2H.Mobile@gmail.com>