Finished the layerEvents example.