Fix a missing getDirectory method in event