Merged shadow support code into individual Shape classes.