from, to, in_marker should all be marked const.