Added created hooks to database objects.