Added class Settings to simplify export().