add some debug information if a unwrapped symbol is not a function
also do not create wrappers for symbols which are not functions