Add tokeninze and de-tokenize functionality.