Fix #1, Utils API

Fixing issue #1, implementing the Utils API, and various tweaks and
fixes.