iOS, OSX extensions of some classes