Added getToken() method.