Moved repeatead admin code to a parent class