Refactoring the styles to be more simple.