Added static modifier to tokenise method.