Adding entity self validation.