Changing the scope of the functions.