Handle anonymous constructors in Object#instance