Twisted K-theory in $g>1$ from D-branes