Tweaking code a bit.

Signed-off-by: Ben Corlett <bencorlett@me.com>