Did a bit of general cleaning up.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>