Got rid of code climate warning.