allow to specify plain objects as globals