Note that if you also have the setOpacity method defined on the Layer class, you can tweak the layer opacity after it has been added to the map.
Opacity: << >>
IE users: Wait until the shade layer has finished loading to try this.