Change setToken from private to public