Detyped freqz and added type specific version.