Extensions to NSFoundation