Fix array of function pointers for command registry.