Fixed lint error that fragments in samples have no default constructors.