Added an exceptional return node to functions