Change EmptyObject to emptyObject in Example

According to compiler, EmptyObject was deprecated in favour of emptyObject.