This could break currrent code: I.e.

submit(123, entity, 'foo') will have unexpected behavior.  It is safer to switch the order.