Preparation for using database entity types