Don't import index; move ns to core.