Added get-start-end-keys, del functions and misc.