Add missing semicolons.
Add URL to files when parsing them.
Pass event on to the appropriate handler.
Fix add/remove being reversed.