added required option to settings module, also documentation