Added backward compatibility.