Converted the MethodDefRow into a virtual class so that it can be lazy-written