Copy definitions into next REPL cycle

Copy top-level definitions into next REPL cycle.