Made phase-variable thing slightly less broken.