Declaring subclasses that inherit the conformance to protocols