[TASK] Remove usage of the keyword global