Added simple magic get/set methods to the Collection class