Rewrite of subword navigation functions.