add type support to PomHandler