Added simple magic get/set methods to the Collection class

Very simple addition - I thought it would actually be there.