Added protocols and inheritance in the method space.