Added listkeys functionality