Implemented Template::setWidgets to insure objects were being passed in.