Ehh, I don't particularly agree, but granted I'd say to give cocoa the input_ctx and the options struct (or possibly a cocoa_options substructure?).