Automatically decorate shared view data

Currently the shared view data doesn't get automatically decorated. I have added an extra line to include the shared view data automatically in the decoration process.