fix apitype casing for underscore classes