The invention provides compounds having the general formula I:and salts thereof, wherein the variables Pro, DPro, DPhe, Arg, Trp, X1, X2, X3 and X4 have the meaning as described herein, and compositions containing such compounds and methods for using such compounds and compositions.