Styling. Removed some dupe code.