Unconsionable conduct and codes of conduct