Some definitions relating to randomness