Switch to workspace model API instead of workspaceView API, which is being deprecated