Refine Core Database.