Put callbacks in place to support line draw action.