Changed more warnings into errors