Setting management improved and docs added.