Do not emit undefined objects