Added API.Logout().