Repository/transaction: Now returns the return value of given callback