Add init function for custom ignore callbacks.