Added support for matching based onconstructor reference