Reduce warnings in spec runs