It cannot be the interface as registerCommands is not part of it.