Added Session-Feature for the CommandExecutor.