added null check for delegated methods to prevent null pointer exceptions

In our application, we would get NPEs if all of the fields on embedded object were null.