Adding common controller superclass.