Remove unused *db* variable from main namespace.