Add {key,api}Stats methods.