Remove unnecesary listeners from the example.