add missing layer and sublayer methods