Addressed NullReferenceException thrown if methodbody in constructor

is null.