Bind the functions, so that "this" can be used.