Add overriding class method(layerClass) example.