Implemented collection.change event and optimized item removal code.