S4 compatability for optmatch objects, fixes #91