Why do you use Object.defineProperty instead of `api.online = { ... }`?