Added object functions for Card, Pocket and Community.