Fix Issue 12653 - Add documentation for the getFunctionAttributes trait.