Support key_prefix option