Following unstable API. The registration process looks completly new, co I replaces the LocalCommands with a LocalRegistrar class