DRY programming in MessageDirector