Cache.hookcmd() prototype changes