Each instance where the $toolbar is passed through is type-hinted.