Refactoring: Command execution handlers put into separate methods instead of delegate variables