Refactor.

meh