Added hook at the end of line.