Added docs and token getter