Fixed an error when trying to display documentation from a function.
This error was caused by some old test code that was left behind.