Move lastline getting/setting into context, to hide it.