Fix callable function name if not callable.
Merge pull request #25 from lferro9000/callable_error

Fix callable function name if not callable.
Rewritten handling of callback validation.