Resolves #2 - Added benchmarking with perforate.

Also made some changes to fix reflection warnings.