Traps for bathtubs