Generalized P-Colorings Of Knots