Rename `self_` variables to `imp` for consistency

12 jobs for !648 with 0.8-backports in 20 minutes and 45 seconds (queued for 9 seconds)
merge request