LPS-44013 Exclude whole class instead

cc/ @cgoncas