Created a controller superclass.