Adding function contents.