Add +[OFThread isMainThread]