Improve global object accessing