Add removeData method to RandomData class, Update extensions example.

This change make extensions example more normal and data will not accumulate.