Updated docs to not use deprecated calls