Fixed crash when COM object defined with no body.