Fix release build (unused parameters).