Move alter hook to litle gateway inc file.