Inheritance of protocols