Cocoa Foundation extensions and helper classes