Migrating sample code from other repo.