Preliminary fix that prevents consumer interfaces to be registered as resources.