Renamed ProtoIgnore to Exclude and merged two if-cases.