Category additions for Foundation and UIKit.