Handle multiline functions