Passes all options to to_xml method.