Replaced a global layout call with the CodeUtils one