Corrected the collection to implement a interface.