modifications: Add new_ability effect handler.

Also, optimize out temporary table constructions.