Extract the same methods from base controllers to separate module