Additions to Foundation and UIKit frameworks