Split keys out from rk.py