Fixed deprecated message