Removed magic numbers from Global.