Don't register handler if the command is not defined