Changed implementation of URYTwig to be less stupid.