Added the last() function

Get the last created token.