Common code for admin, et. al.