Cleaning out all undefined globals warnings