Fix warnings for SPNL