Fix double_list cleaning.
Move constants to a single accesible place.