Adds toggle methods to layer and sublayers