Removes unused exception
Adds global theme variables to View