Added 'membership_summary' view and performed minor cleanup.