Fix initializer list deduction warnings in specs