Fix some codacy hints found.