Made tokenize methods static