Some Remarks on Hairpin and Loop Languages