Added bone and vertex weight to define and undefine.