Added support for checkToken()
Expose apiVersion via a @property.