Set up some of the functions in baseView