Updated basic samples to include version attribute