Removed old unused settings and permission leftovers.