Check that extra is present and is a Base object before serializing.