The present invention provides polypeptides that contain one or more PDZ loop-variants and are useful in the detection of pathogens and disease-associated molecules. The polypeptides of the invention are also useful in the diagnosis, treatment, and prevention of diseases. Also provided are methods of preparing polypeptides of the invention.