Created a denotition for version of func that supports type classes.