added support of specifying a lookup fields object and label as parameters