Add default and max size settings.