Added parsing for defining function as variable.