Use _class and add base for compound keys