Removing debug info, removing array and foreach.

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>