Keep deprecated function