Fix typo in the function enum values, Fuction->Function
Merge pull request #1 from rhult/master

Yay spelling. I haz it.