Register globals with injection