Removed deprecated references to dtype parameter