Added initial support for creating token.