Reduced duplication, added more basic styling.