Implemented moveKeys() in Stream class