Add beans for database entities.