Fixes signature for addToken to local cache