Cocoa class extensions for QRCode generation.