Added a hook for seeding the database.