Replace ORM::factory() calls with three arguments, as they're no longer in K3.
Remove random, unused, bizarre line from Hook_TagBlock.
Replace ORM::delete_all() calls, as the function no longer exists in K3.