Added ability to refer to object in custom conform function and associated tests.