Added backwards compatibility.