Adds sniff code to test if controller is callable.