Tiny extensions of Cocoa library