Added support for returning a single match instance.