Give the option to the callback to be optional