Copying over prototype when binding functions.