Moving keys to the top level