Fixing "[WARNING] Some commands could not be registered." warning.