Improve code readability and usability of settings