Move code inside functions (scope pollution).