Added the dispatcher for calling methods and whatnot