Persons having a joint interest and who are indispensable for the adjudication of the controversy shall be made parties and joined as plaintiffs or defendants, as the case may be. When a person who should join as a plaintiff refuses to do so, he may be made a defendant.