removing protocol method definition from header