Rename (link.params.)onSuccess to on.success