LPS-31033 Prevent generation of unused code