Ruby2 compability