bind all the functions on an object