Added code for 'paidBy' and 'sharedWith'