Address ruby warnings.