Simplifying getToken signature.