Fix metatype service registration