Improve the behavior of allInterfaces