Refactored admin.