Implemented the token attribute.