Replace built-in cmdDict with registry of commands
Filter registry