[opwig] implemented a couple getters in Type interface