New functions sk_set, sk_value and sk_num to replace existing macros: this is to minimise the effects on existing code.