Add some missing admin code