>I can only use the extract functions if the token is an object (can be a string as well). 

I know but the methods you pass this object looks like they are dealing with this already. Anyways, not a big deal :)