Trying to figure out how to pass a function handle and set it as a member of a class