Remove Travis debug code
Support register(ext, template_class)