clean up require statements

I was going to add some tests for the area code, but someone beat me to it.

Anyway, I noticed that there were duplicate `require` statements, so I cleaned them up with this commit/branch.