I know this is part of my suggestion to move events.xml into the events directory, but is there any reason not to store a reference to the deposit event file and/or the dom object as instances variable so you don't need parse the file each time you want to add an event?