Implement unsigned int cycle using Programmatic.

Closes #304.