I'd prefer not to use the dict directly because any changes to it need to be applied to the list as well.