Allow selective warnings for unused variables
Document and clean up templating support
Remove warning node for unused variables after type inference