Working on adding protocols with inheritance.
Added protocols and inheritance in the method space.
Self-review.