- Fixed some bugs when appending functions to a class.
- Renamed wrapFunction and wrapFunctions to appendFunction and
  appendFunctions.
- Fixed a bug in wrapAllFunctions that was accidentally checking if the
  propValue was a function when it would never be a function.