Seems like a thread safety issue here, but there are other instances of this AF too, it might not be an issue so long as all the classes that register are defined before threads are spawned.