Added Exception and Policy classes.