Add check if properties exists in class before save in DB.