Refactoring. All commands use AbstractNdexCommand.