Maybe we can just remove the callback in API and just dump console error, since no one will use that after this patch.