Use is_callable() to test for newInstance().