Made the common settings a bit more generic.