Implemented collection methods.