Prettied up code.