Removed keyword args from trigger.
They were never used, and were just slowing the system down.
Import cleanup and formatting changes to remove warnings.