Fixes double registration of extension