Some improvement to facilitate implementation of Android KalimaCache
client