view examples: Fixed a bunch of function attributes.