Added seq utility functions.
Cluster fixes and cleanup.