Switched to using isroutine instead of callable to avoid instantiating classes.
Added formal deprecation warnings and related tests.