Add entities and their types, null-validation.