Fix scrutinizer notices