Custom event example.