Add inline notes on scope.box and remove obsolete fns