Move context to runtime