Prevent function from being return as a data members.

FunctionDecl are ValueDecl and are found by lookup.