Fixed double insertion and key-bindings.