Clean the code after moving the IS_MOB and MOB_THRESHOLD to hcd.