Add global object to client