Refactoring CMS admin.