Implement endless loops.

Closes #119.