Fixed class policy checker and added exception for Global.asax.cs.