improvement for multi-threaded support: the allInterfaces property is made immutable