R: remove community.to,membership function (#531).