Glance::registry need to be called before glance::api