Add a function to construct a protocol containing all the methods and properties of its parent protocols excluding NSObject.