2.2-rc, support create OS class that extends userdata