Some convenience methods to invoke native ObjC blocks from the Ruby code