Replaced deprecated import