Added function stuff.