Add function for compatibility.