Refactoring home banner code.