Added an exception when trying to fake a non-function.
Added the ability to easily wrap anonymous or orphaned functions.