Removed unneeded admin code.