Follow gtype convention and renamed class to klass.