Efficient navigation of callback functions