A fork of Mohammad Khan's ruby-agi library, version 2.0.