Add Flask-like g object