Simplify key handling interface