Added redirect option to is_callable.