Remove use of deprecated APIs

:rotating_light: WIP :rotating_light:
What do you think about naming this in a way to relates to what it is a disposable for? Like `workspaceCommandSubscription` or something.