Add @protocol attribute to defimpl