Allow calling register_apis multiple times