Added some more helper method to the collection class.