Silence warning "register deprecated".