Modificated appending to lists.