Use frontend-registered callback with correct parameters