Partial implementation of class level support from @JasminCode