core: align signature and expose dual variables

6 jobs for pr/22 in 7 minutes and 24 seconds (queued for 5 seconds)