Update line events to use a more conventional syntax