Extended the behaviour of the list classes.