WIP constructors for gen-class