Updated command registering interface, added isDefault usage