I don't think this is safe.. As this can be set / accessed from different threads. See also #935